#include "Arduino.h"
#include "util.h"

static const char PROGMEM p_Hextbl[] = "0123456789ABCDEF";

unsigned char b2H(unsigned char c)
{
	return pgm_read_byte(&p_Hextbl[c & 0x0F]);
}
